package com.cppsu.cgx.libraryseatselection.config;


import com.cppsu.cgx.libraryseatselection.domin.SwaggerProperties;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


/**
 * @Author: guibo
 * @Description:
 * @Date: Created in 22:45 2021/1/11
 * @Modified By:
 */
@Configuration
@EnableSwagger2
public class SwaggerConfig extends BaseSwaggerConfig {

    @Override
    public SwaggerProperties swaggerProperties() {
        return SwaggerProperties.builder()
                .apiBasePackage("com.cppsu.cgx.libraryseatselection.controller")
                .title("中国公安大学图书馆选座系统")
                .description("后台接口")
                .contactName("cgx")
                .version("1.0")
                .enableSecurity(true)
                .build();
    }
}
